home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmiSoft / Util / Sys / Amberram.lha / AmberRAM / Source / Notes < prev    next >
Encoding:
Text File  |  2003-01-29  |  1.2 KB  |  36 lines

  1.  
  2. TO DO:
  3.  
  4.  - New function: CanLock().
  5.  - Sort out problems relating to ACTION_WRITE result (prevents "disk full"
  6.    requester being displayed).
  7.  - Implement record locking.
  8.  - Implement ACTION_EXAMINE_ALL and ACTION_EXAMINE_ALL_END.
  9.  - Fix rollback problems in ACTION_RENAME_DISK.
  10.  - Fix error handling in ACTION_FIND#?.
  11.  - Use memory pools?
  12.  - Implement soft links?
  13.  - Respect R and W flags for directories?
  14.  - Find out about CreateDir() deleting objects.
  15.  - Should opening with MODE_READWRITE succeed when disc is locked?
  16.  
  17.  
  18. DESIGN NOTES:
  19.  
  20. File blocks:
  21.  
  22. All of a file's blocks will be full except perhaps the last one.
  23. The 'end_length' field keeps track of how much of the last block is used.
  24. A file handle must never be located one position past the end of a block; it
  25. must be at the start of the following block instead.
  26.  
  27. Links implementation:
  28.  
  29. If a real object is linked, the object and its links are linked, via their
  30. "hard_link" node, into the "elements" list of one of the links. The link
  31. whose list is used is called the master link. The linked object is always
  32. first in the list and the master link is always second. An object without
  33. links has both fields of "hard_link" set to NULL.
  34.  
  35.  
  36.